/**
 * 全局filters
 */
// 注册全局filters

import Vue from 'vue';

import * as time from './module/time';
import * as number from './module/number';

const data: Record<string, any> = {
  ...time,
  ...number
};
//过滤器统一处理加载
Object.keys(data).forEach((key) => {
  Vue.filter(key, data[key]);
});
